//SymbianEngine.h : Includes the definition for the controlling game engine of this game
// this is where all initialization takes place and finally where the entire game will end
//$Id: SymbianEngine.h 48 2009-09-28 22:27:40Z brwarner2 $
#pragma once

//State manager class
class CStateManager;

//Game Engine implementation for Symbian Adventures
class CSymbianEngine :
	public bug::game::IGameEngine
{
public:
	//Constructor
	CSymbianEngine(void);

	//Destructor
	virtual ~CSymbianEngine(void);

	//Update function
	void Update( float fElapsed, float fTotal, bug::input::IInputDevice* pDevice );

	//Load function
	void Load( bug::render::IRenderDevice* pDevice );

	//Render function
	void Render( bug::render::IRenderDevice* pDevice );

	//Release function
	void Release( void );

private:
	//First update frame?
	bool m_bFirstUpdate;

	//Sprite object
	bug::render::CSprite *m_pSprite;

	//Game state manager
	CStateManager* m_pStateManager;
};
